import request from '@/utils/request'
export function getExamineeInfo(pageSize, pageNumber, active_name, username) {
  return request({
    url: 'exam/com.primeton.eos.examinationArrangement.examineeArrangement.biz.ext',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'active_name': active_name,
      'username': username
    }
  })
}

export function uploadExamineeArrangementFile(file) {
  return request({
    url: '/student/import',
    method: 'post',
    data: {
      'file': file
    }
  })
}
export function updateExamieeInfo(ids) {
  return request({
    url: 'exam/com.primeton.eos.examinationArrangement.updateExamineeStatus.biz.ext',
    method: 'post',
    data: {
      'ids': ids
    }
  })
}
export function getInvigilatorArrangement(pageSize, pageNumber, active_name, username) {
  return request({
    url: 'exam/com.primeton.eos.examinationArrangement.invigilateArrangement.biz.ext',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'active_name': active_name,
      'username': username
    }
  })
}
export function myExamArrangement(username) {
  return request({
    url: 'exam/com.primeton.eos.examinationArrangement.myExamArrangement.biz.ext',
    method: 'post',
    data: {
      'username': username
    }
  })
}
